<?php 
$sql =	"SELECT
			  c.page_id,
			  d.title,
			  d.description,
			  d.meta_key,
			  d.meta_description	
		  FROM
			  pages AS c,
			  page_description AS d,
			  sef_url AS s
		  WHERE
		  
			  c.page_id = d.page_id
			  AND
			  d.lang_id = '".$_SESSION['lang_id']."'
			  
			  AND
				c.page_id = s.query
				AND
				s.lang_id = '".$_SESSION['lang_id']."'
				AND s.tamplate = 'page'
			 
			  AND
				s.sef_url = 'contacts' 
		  ";


$result = query($sql);
$row = mysql_fetch_object($result);

head(sth($row->title),sth($row->meta_description));

$coor = explode(",", $row->meta_key)

?>

<div class="wrapper-all-projects cf">
            <header id="header" class="cf">
                <div id="search-icon"></div>
                <div id="logo"></div>
                <div id="menu-icon"></div>
            </header> <!--# header-->

            <section id="content-project" class="cf">
           		 <article id="project" class="cf">
         
                <h1><?=stripslashes($row->title)?></h1>
                <?=stripslashes($row->description)?>
                
               <section id="contact-map" style="width:100%; height:300px;">
				</section>
            
            </article>
        </section> <!--# content--> 



<script type="text/javascript" src="http://maps.google.com/maps/api/js?v=3&amp;sensor=false"></script>
<script type="text/javascript" src="<?=HTML_BASE?>js/contacts_map.js"></script>

<script type="text/javascript">
	initialize("<?=$coor[0]?>","<?=$coor[1]?>");
</script>

	
	
<?php

foot();
?>